package com.emuporium.gymrat.server.data;

import java.sql.Timestamp;
import java.util.ArrayList;

public class Program {

	private Timestamp timestamp;
	private int id;
	private String name;
	private String description;
	private String author;
	private int creatorId;
	private int sourceId;
	private boolean shared;
	private ArrayList<Routine> routines;

	public Timestamp getTimestamp() {
		return timestamp;
	}

	public void setTimestamp(Timestamp timestamp) {
		this.timestamp = timestamp;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public int getCreatorId() {
		return creatorId;
	}

	public void setCreatorId(int creatorId) {
		this.creatorId = creatorId;
	}

	public int getSourceId() {
		return sourceId;
	}

	public void setSourceId(int sourceId) {
		this.sourceId = sourceId;
	}

	public boolean isShared() {
		return shared;
	}

	public void setShared(boolean shared) {
		this.shared = shared;
	}

	public ArrayList<Routine> getRoutines() {
		return routines;
	}

	public void setRoutines(ArrayList<Routine> routines) {
		this.routines = routines;
	}

	public Program() {
		routines = new ArrayList<Routine>();
	}

}
